/**
 * 
 */
package com.credit.service.fund;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import com.credit.entity.CreditUserInfo;



/**
 * 判断消息类型，以及下发所使用的通道，有些通道每天能够调用的次数有限，需要批量调用
 * @author quanzhi
 *
 */
@Component(value = "pushMessageDelegateListener")
public class PushMessageDelegateListener {
	
	private static final String PUSH_TOPIC="push";
	
	
	
	@Autowired
	private RedisTemplate<String, CreditUserInfo> redisTemplate;
	
	public void handleMessage(CreditUserInfo message) {
		Date currentTime = new Date();
		//CreditUserInfo account = CreditUserInfo.findOne(message.getUserAccountId());
		//TODO:
//		account.getDeviceId();
//		account.getLastProductId();
//		account.getWxOpenid();
//		System.out.println(message);
		
	}
}
